package net.wanho.service;

import net.wanho.po.AuthInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【auth_info(权限表)】的数据库操作Service
* @createDate 2024-10-18 16:14:23
*/
public interface AuthInfoService extends IService<AuthInfo> {

    List<AuthInfo> findMenus();

    AuthInfo findByAuthName(String authName);

    AuthInfo findByAuthUrl(String authUrl);

    AuthInfo findByAuthCode(String authCode);

    void add(AuthInfo authInfo);

    List<AuthInfo> getAuthTree();

    void authEnable(Integer id);

    void authDisable(Integer id);

    void authDelete(Integer id);
}
